/* 假设 window.crypto.getRandomValues 可用 */
const root = document.querySelector("#root");
const array = new Uint32Array(10);
crypto.getRandomValues(array);

root?.appendChild(document.createTextNode("Your lucky numbers:"));
for (let i = 0; i < array.length; i++) {
  root?.appendChild(document.createElement("div", {}));
}
